/*
 * How to compile:
 *   cc `apr-1-config --includes --link-ld` apr-init.c -o apr-init
 *
 */

#include <apr_general.h>
#include <assert.h>

int
main(int argc, char *argv[])
{
	assert(apr_app_initialize(&argc, &argv, NULL) == APR_SUCCESS);
	/* For libraries:
	 * assert(apr_initialize() == APR_SUCCESS);
	 */
	apr_terminate();
	return 0;
}
